package com.xiaobawang.xjsyy_idea_plugin.forest;

import lombok.Data;

import java.util.List;

@Data
public class RunningHistory {
    private String status;
    private Long startTime;
    private Integer triggerMode;
    private Long pipelineRunId;
    private Long pipelineId;
    private Long endTime;
    private Creator creator;
    private List<StageInfo> stageInfoList;
    private List<CodeSourceInfo> codeURLList;

    @Data
    public static class CodeSourceInfo {
        private String branch;
        private String url;
    }

    @Data
    public static class Creator {
        private String id;
        private String username;
    }

    @Data
    public static class StageInfo {
        private String name;
        private String status;
    }
}